<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/twitter-bootstrap/5.1.1/js/bootstrap.bundle.min.js"></script>
    <script type="text/javascript"  th:src="@{/js/jquery-1.9.1.min.js}"></script>
    <title>添加商户信息</title>
</head>
<body>

<div class="container-fluid">
    <div class="container mt-3">
        <h2>添加商家信息</h2>
        <form th:action="@{/window/updatebusinessinfo}">

            <div class="mb-3 ">
                <label  class="form-label">餐厅id:</label>
                <input type="text" class="form-control" id="cid" name="cid" th:value="${business.getCanteenId()}">
            </div>
            <div class="mb-3 ">
            <div class="mb-3 ">
                <label  class="form-label">商家id:</label>
                <input type="text" class="form-control" id="bid" name="bid" th:value="${business.getId()}">
            </div>
                <label  class="form-label">窗口号:</label>
                <input type="text" class="form-control" id="num" th:placeholder="${business.getNum()}" name="num">
            </div>
            <div class="mb-3">
                <label  class="form-label">商家名:</label>
                <input type="text" class="form-control" id="bname" th:placeholder="${business.getName()}" name="bname">
            </div>
            <div class="mb-3">
                <label  class="form-label">密码:</label>
                <input type="password" class="form-control" id="bkey"  name="bkey">
            </div>

            <button type="submit" class="btn btn-primary">Submit</button>
        </form>
    </div>
</div>
</body>
</html>